package com.itheima.d5_polymorphic.demo1;

/**
 * 狗类，继承Animal动物类
 */
public class Dog extends Animal {
    @Override
    public void eat() {
        System.out.println("狗吃屎！");
    }
}
